← Back to issue list

In the nodejs plugin, there is no way to specify the npm version required

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1632553
Type
issue
State
open
Author
~elopio
Labels
plugin
Created
2016-10-12 03:27:46.339312+00:00
Updated
2016-10-12 03:29:51.592758+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

From the dcos-ui project (https://github.com/dcos/dcos-ui): "Node 4.x and NPM 3.x (and above) are required." That is not possible with the nodejs plugin. when I use node v4.4.7, npm v2.15.8 is installed. I can use a more recent npm version by using a more recent node engine, but then the server won't start: ERROR: Node version v6.7.x does not match required version v4.4.x npm ERR! Linux 4.8.0-19-generic npm ERR! argv "/snap/dcos-ui/x2/bin/node" "/snap/dcos-ui/x2/bin/npm" "run" "check-env" npm ERR! node v6.7.0 npm ERR! npm v3.10.3

Evaluation history

No evaluation history available.